package com.gxa.uhome.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Date;
import java.sql.Time;

/**
 * @author: fanyouzhao
 * @date: 11:19 2021/6/7
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "Station站点对象")
public class Station implements Serializable {
    @ApiModelProperty(name = "id", value = "id")
    private Integer id;
    @ApiModelProperty(name = "name", value = "名称")
    private String name;
    @ApiModelProperty(name = "phone", value = "手机")
    private String phone;
    @ApiModelProperty(name = "buPhone", value = "备用手机号")
    private String buPhone;
    @ApiModelProperty(name = "desc", value = "站点描述")
    private String desc;
    @ApiModelProperty(name = "onTime", value = "接单时间（上班时间hh:mm:ss）")
    @JsonFormat(pattern = "HH:mm:ss")
    private Time onTime;
    @ApiModelProperty(name = "offTime", value = "接单时间（下班时间hh:mm:ss）")
    @JsonFormat(pattern = "HH:mm:ss")
    private Time offTime;
    @ApiModelProperty(name = "address", value = "地址")
    private String address;
    @ApiModelProperty(name = "coor", value = "站点位置（经纬度）")
    private String coor;
    @ApiModelProperty(name = "caDesc", value = "常温产品时效描述")
    private String caDesc;
    @ApiModelProperty(name = "caRangeWay", value = "常温范围方式，“方圆0”或者“电子围栏1”")
    private Boolean caRangeWay;
    @ApiModelProperty(name = "caRange", value = "常温范围")
    private String caRange;
    @ApiModelProperty(name = "seDesc", value = "生鲜产品时效描述")
    private String seDesc;
    @ApiModelProperty(name = "seRangeWay", value = "范围方式，“方圆0”或者“电子围栏1”")
    private Boolean seRangeWay;
    @ApiModelProperty(name = "seRange", value = "生鲜范围")
    private String seRange;

}
